package ar.com.visualAORE.view;

import java.awt.*;
import java.util.*;
import javax.swing.*;
import org.jdesktop.swingx.*;
/*
 * Created by JFormDesigner on Sun Jan 23 18:13:07 ART 2011
 */



/**
 * @author julian
 */
public class ThresholdZoomPanel extends JPanel {
	public ThresholdZoomPanel() {
		initComponents();
	}

	private void initComponents() {
		// JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
		ResourceBundle bundle = ResourceBundle.getBundle("locale");
		tabbedPaneConcernThreshold = new JTabbedPane();
		panel1 = new JPanel();
		label1 = new JLabel();
		sliderThreshold = new JSlider();
		label2 = new JLabel();
		panel2 = new JPanel();
		labelZoom1 = new JLabel();
		sliderZoom = new JSlider();
		labelZoom2 = new JLabel();
		buttonApplyThresZoom = new JButton();

		//======== this ========
		setLayout(new VerticalLayout());

		//======== tabbedPaneConcernThreshold ========
		{
			tabbedPaneConcernThreshold.setToolTipText(bundle.getString("tabbedPaneConcernThreshold.toolTipText"));

			//======== panel1 ========
			{
				panel1.setLayout(new FlowLayout());

				//---- label1 ----
				label1.setText(bundle.getString("label1.text"));
				panel1.add(label1);

				//---- sliderThreshold ----
				sliderThreshold.setValue(2);
				panel1.add(sliderThreshold);

				//---- label2 ----
				label2.setText(bundle.getString("label2.text"));
				panel1.add(label2);
			}
			tabbedPaneConcernThreshold.addTab(bundle.getString("panel1.tab.title"), panel1);


			//======== panel2 ========
			{
				panel2.setLayout(new FlowLayout());

				//---- labelZoom1 ----
				labelZoom1.setText(bundle.getString("labelZoom1.text"));
				panel2.add(labelZoom1);
				panel2.add(sliderZoom);

				//---- labelZoom2 ----
				labelZoom2.setText(bundle.getString("labelZoom2.text"));
				panel2.add(labelZoom2);
			}
			tabbedPaneConcernThreshold.addTab(bundle.getString("panel2.tab.title"), panel2);

		}
		add(tabbedPaneConcernThreshold);

		//---- buttonApplyThresZoom ----
		buttonApplyThresZoom.setText(bundle.getString("buttonApplyThresZoom.text"));
		add(buttonApplyThresZoom);
		// JFormDesigner - End of component initialization  //GEN-END:initComponents
	}

	// JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
	private JTabbedPane tabbedPaneConcernThreshold;
	private JPanel panel1;
	private JLabel label1;
	private JSlider sliderThreshold;
	private JLabel label2;
	private JPanel panel2;
	private JLabel labelZoom1;
	private JSlider sliderZoom;
	private JLabel labelZoom2;
	private JButton buttonApplyThresZoom;
	// JFormDesigner - End of variables declaration  //GEN-END:variables
}
